﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VehicleContactList.aspx.cs" Inherits="CRM.Web.VehicleManage.VehicleContactList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="相关客户信息" ></asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div id="divMain" >
    <div style="width: 100%">
        <div class="listdiv">  
            <dp:WebGridView ID="gvList" runat="server" CssClass="gridview" AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" OnSorting="gvList_Sorting" AllowPaging="true" 
                AllowSorting="true" PageSize="10" Width="100%"  SortExpressionValue="CUSTOMERID">
                <Columns>
			    <asp:BoundField DataField="CUSTOMERID" HeaderText="编号"  SortExpression="CUSTOMERID" Visible="false" />
			    <asp:BoundField DataField="CUSTOMERCODE" HeaderText="客户编号"  SortExpression="CUSTOMERCODE" />
			    <asp:BoundField DataField="CUSTOMERNAME" HeaderText="客户姓名"  SortExpression="CUSTOMERNAME" />
			    <asp:BoundField DataField="FIRSTCONTACTTEL" HeaderText="联系号码"  SortExpression="FIRSTCONTACTTEL" />
			    <asp:BoundField DataField="FIRSTCONTACTTYPE" HeaderText="首选联系方式"  SortExpression="FIRSTCONTACTTYPE" Visible="false"/>
			    <asp:BoundField DataField="MOBILEPHONE" HeaderText="手机号码"  SortExpression="MOBILEPHONE" />
			    <asp:BoundField DataField="HOMEPHONE" HeaderText="座机号码"  SortExpression="HOMEPHONE" />
			    <asp:BoundField DataField="ADDRESS" HeaderText="详细地址"  SortExpression="ADDRESS" Visible="false" />
			    <asp:BoundField DataField="COUNTRY" HeaderText="国家"  SortExpression="COUNTRY" Visible="false"/>
			    <asp:BoundField DataField="PROVINCE" HeaderText="省份"  SortExpression="PROVINCE" Visible="false"/>
			    <asp:BoundField DataField="PREFECTURECITY" HeaderText="PREFECTURECITY"  SortExpression="PREFECTURECITY" Visible="false"/>
			    <asp:BoundField DataField="CITY" HeaderText="CITY"  SortExpression="CITY" Visible="false"/>
			    <asp:BoundField DataField="VILLAGETOWN" HeaderText="VILLAGETOWN"  SortExpression="VILLAGETOWN" Visible="false"/>
			    <asp:BoundField DataField="VILLAGE" HeaderText="VILLAGE"  SortExpression="VILLAGE" Visible="false"/>
			    <asp:BoundField DataField="GROUPTEAM" HeaderText="GROUPTEAM"  SortExpression="GROUPTEAM" Visible="false"/>
			    <asp:BoundField DataField="CUSTOMERBASE" HeaderText="客户群"  SortExpression="CUSTOMERBASE" />
			    <asp:BoundField DataField="CUSTOMERTYPE" HeaderText="客户类型"  SortExpression="CUSTOMERTYPE" />
			    <asp:BoundField DataField="CUSTOMERLEVEL" HeaderText="客户等级"  SortExpression="CUSTOMERLEVEL" Visible="false" />
			    <asp:BoundField DataField="SPECIALTYPE" HeaderText="特殊类型"  SortExpression="SPECIALTYPE" Visible="false" />
			    <asp:BoundField DataField="BIGCUSTOMERTYPE" HeaderText="大客户类型"  SortExpression="BIGCUSTOMERTYPE" Visible="false"/>
			    <asp:BoundField DataField="STATUS" HeaderText="状态"  SortExpression="STATUS" Visible="false" />
			    <asp:BoundField DataField="SPECIALLIST" HeaderText="SPECIALLIST"  SortExpression="SPECIALLIST" Visible="false"/>
			    <asp:BoundField DataField="IDNUMBER" HeaderText="证件号码"  SortExpression="IDNUMBER" />
			    <asp:BoundField DataField="URL" HeaderText="URL"  SortExpression="URL" Visible="false"/>
			    <asp:BoundField DataField="EMAIL" HeaderText="EMAIL"  SortExpression="EMAIL" Visible="false" />
			    <asp:BoundField DataField="ZIPCODE" HeaderText="ZIPCODE"  SortExpression="ZIPCODE" Visible="false"/>
			    <asp:BoundField DataField="FAX" HeaderText="FAX"  SortExpression="FAX" Visible="false"/>
			    <asp:BoundField DataField="CREATETIME" HeaderText="CREATETIME"  SortExpression="CREATETIME" Visible="false" />
			    <asp:BoundField DataField="CREATEPEOPLEID" HeaderText="CREATEPEOPLEID"  SortExpression="CREATEPEOPLEID" Visible="false"/>
			    <asp:BoundField DataField="CREATEPEOPLE" HeaderText="CREATEPEOPLE"  SortExpression="CREATEPEOPLE" Visible="false"/>
			    <asp:BoundField DataField="LASTMODIFYPEOPLEID" HeaderText="LASTMODIFYPEOPLEID"  SortExpression="LASTMODIFYPEOPLEID" Visible="false"/>
			    <asp:BoundField DataField="LASTMODIFYPEOPLE" HeaderText="LASTMODIFYPEOPLE"  SortExpression="LASTMODIFYPEOPLE" Visible="false"/>
			    <asp:BoundField DataField="LASTMODIFYTIME" HeaderText="LASTMODIFYTIME"  SortExpression="LASTMODIFYTIME" Visible="false"/>
			    <asp:BoundField DataField="REMARK" HeaderText="REMARK"  SortExpression="REMARK" Visible="false"/>
			    <asp:BoundField DataField="STATUSLOG" HeaderText="STATUSLOG"  SortExpression="STATUSLOG" Visible="false"/>
			    <asp:BoundField DataField="FTIMESTAMP" HeaderText="FTIMESTAMP"  SortExpression="FTIMESTAMP" Visible="false" />
			    <asp:BoundField DataField="AGE" HeaderText="AGE"  SortExpression="AGE" Visible="false"/>
			    <asp:BoundField DataField="ISACCEPTSMS" HeaderText="ISACCEPTSMS"  SortExpression="ISACCEPTSMS" Visible="false" />
			    <asp:BoundField DataField="ISACCEPTINFORMATION" HeaderText="ISACCEPTINFORMATION"  SortExpression="ISACCEPTINFORMATION" Visible="false" />
			    <asp:BoundField DataField="BIRTHDATE" HeaderText="BIRTHDATE"  SortExpression="BIRTHDATE" Visible="false"/>
			    <asp:BoundField DataField="DEALERID" HeaderText="DEALERID"  SortExpression="DEALERID" Visible="false" />
			    <asp:BoundField DataField="DEALERNAME" HeaderText="DEALERNAME"  SortExpression="DEALERNAME" Visible="false"/>
			    <asp:BoundField DataField="DEALERCODE" HeaderText="DEALERCODE"  SortExpression="DEALERCODE" Visible="false"/>
			    <asp:BoundField DataField="ORGNAME" HeaderText="ORGNAME"  SortExpression="ORGNAME" Visible="false"/>
			    <asp:BoundField DataField="ZONENAME" HeaderText="ZONENAME"  SortExpression="ZONENAME" Visible="false"/>
			    <asp:BoundField DataField="BUSINESSDIVISIONID" HeaderText="BUSINESSDIVISIONID"  SortExpression="BUSINESSDIVISIONID" Visible="false"/>
			    <asp:BoundField DataField="BUSINESSDIVISIONNAME" HeaderText="BUSINESSDIVISIONNAME"  SortExpression="BUSINESSDIVISIONNAME" Visible="false"/>
			    <asp:BoundField DataField="BUSINESSDIVISIONCODE" HeaderText="BUSINESSDIVISIONCODE"  SortExpression="BUSINESSDIVISIONCODE" Visible="false"/>
			    <asp:BoundField DataField="BECOMEDATE" HeaderText="BECOMEDATE"  SortExpression="BECOMEDATE" Visible="false"/>
			    <asp:BoundField DataField="PURCHASENUMBER" HeaderText="PURCHASENUMBER"  SortExpression="PURCHASENUMBER" Visible="false" />
			    <asp:BoundField DataField="VINCODE" HeaderText="整车编号"  SortExpression="VINCODE" />
			    <asp:BoundField DataField="ENGINENUMBER" HeaderText="发动机号"  SortExpression="ENGINENUMBER" />
			    <asp:TemplateField HeaderText="操作" ShowHeader="False">
                    <itemtemplate>
                    <div style="white-space: nowrap;">
                        <asp:LinkButton id="lbtnDelete" runat="server" Text="移除关联" CommandName="Delete" CausesValidation="False" OnClientClick="return confirm('您确认要移除此联系人同车辆关联关系吗？');"></asp:LinkButton>            
                    </div>
				    </itemtemplate>
                </asp:TemplateField>
                </Columns>	
                <RowStyle CssClass="row" />
                <AlternatingRowStyle CssClass="row2" />
                <HeaderStyle CssClass="header" />	
                <PagerStyle CssClass="pager" />		
            </dp:WebGridView>
        </div>
    </div>
    </div>
    </form>
</body>
</html>
